|
SAP Convergent Charging
Java and XML APIs (Core) |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.highdeal.hci.OperationFailureException
com.highdeal.pnr.hci.ActivateException
public class ActivateException
Exception thrown when the activation operation is requested with invalid arguments.
See the available operations depending on the technical interface implemented in your SAP system landscape.
HCI:
Message TCP: Online Charging Services
StatefulServiceClient.activate(java.lang.String, java.lang.String, int, java.util.Date) acquire(..) (synchronous communications)
AsyncStatefulServiceClient.activate(java.lang.String, java.lang.String, int, boolean, java.util.Date, com.highdeal.cnd.message.ActivateEventListener) (asynchronous communications)
ChargingContractActivateOp,
ActivateAllOp,
StatefulServiceClient,
AsyncStatefulServiceClient,
ActivateEventListener,
Serialized FormThe XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="activateFault">
<xs:complexType>
<xs:attribute name="reason" type="ActivateFaultReasonType"/>
<xs:attribute name="message" type="xs:string"/>
</xs:complexType>
</xs:element>
<xs:simpleType name="ActivateFaultReasonType">
<xs:restriction base="xs:string">
<xs:enumeration value="invalidSubscriberAccountCode"/>
<xs:enumeration value="invalidServiceProvider"/>
<xs:enumeration value="invalidSubscriptionOid"/>
<xs:enumeration value="invalidToDate"/>
<xs:enumeration value="invalidResultType"/>
<xs:enumeration value="activationProcessAlreadyRunning"/>
<xs:enumeration value="notAuthorized"/>
<xs:enumeration value="invalidContext"/>
<xs:enumeration value="locked"/>
<xs:enumeration value="dispatcherCommunicationFailed"/>
<xs:enumeration value="reratingSessionRunning"/>
<xs:enumeration value="invalidChargingContractOid"/>
<xs:enumeration value="unknown"/>
</xs:restriction>
</xs:simpleType>
| Field Summary | |
|---|---|
static int |
ACTIVATION_PROCESS_ALREADY_RUNNING
Constant for activationProcesssAlreadyRunning error. |
static int |
DISPATCHER_COMMUNICATION_FAILED
Constant for dispatcherCommunicationFailed error. |
static int |
INVALID_CHARGING_CONTRACT_OID
11: Constant for invalidChargingContractOid error. |
static int |
INVALID_CONTEXT
Constant for invalidContext error. |
static int |
INVALID_RESULT_TYPE
Constant for invalidResultType error. |
static int |
INVALID_SERVICE_PROVIDER
Constant for invalidServiceProvider error. |
static int |
INVALID_SUBSCRIBER_ACCOUNT_CODE
0: Constant for invalidSubscriberAccountCode error. |
static int |
INVALID_SUBSCRIPTION_OID
Constant for invalidSubscriptionOid error. |
static int |
INVALID_TO_DATE
Constant for invalidToDate error. |
static int |
LOCKED
Constant for locked error. |
static int |
NOT_AUTHORIZED
Constant for notAuthorized error. |
static java.lang.String |
OPERATION_NAME
The XML tag name of this exception: "activateFault" |
static int |
RERATING_SESSION_RUNNING
10: Constant for reratingSessionRunning error. |
static int |
UNKNOWN
-1: Constant for unknown error. |
| Constructor Summary | |
|---|---|
ActivateException()
Constructs an empty exception. |
|
ActivateException(int reason,
java.lang.String message)
Constructs an exception with a message. |
|
| Method Summary | |
|---|---|
void |
addCharacterData(java.lang.String cData)
Adds character data to the content element. |
void |
addChild(java.lang.String tagName,
XMLMarshallable child)
Adds a child to the object, the child representing
the marshallable object which must be added to the element. |
java.lang.String |
getMessage()
Gets the message for this ActivateException. |
int |
getReason()
Gets the reason of this ActivateException. |
void |
marshal(XMLOutputter output)
Gives an XML representation of this object, including its children. |
void |
setAttributes(XMLAttributes atts)
Sets the attributes of the XML representation of the element being processed. |
| Methods inherited from class com.highdeal.hci.OperationFailureException |
|---|
getOperandReference |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String OPERATION_NAME
public static final int INVALID_SUBSCRIBER_ACCOUNT_CODE
invalidSubscriberAccountCode error.
public static final int INVALID_SERVICE_PROVIDER
invalidServiceProvider error.
public static final int INVALID_SUBSCRIPTION_OID
invalidSubscriptionOid error.
public static final int INVALID_TO_DATE
invalidToDate error.
public static final int INVALID_RESULT_TYPE
invalidResultType error.
public static final int ACTIVATION_PROCESS_ALREADY_RUNNING
activationProcesssAlreadyRunning error. An
activation process is still running.
public static final int NOT_AUTHORIZED
notAuthorized error.
public static final int INVALID_CONTEXT
invalidContext error.
public static final int LOCKED
locked error.
public static final int DISPATCHER_COMMUNICATION_FAILED
dispatcherCommunicationFailed error.
public static final int RERATING_SESSION_RUNNING
reratingSessionRunning error.
public static final int INVALID_CHARGING_CONTRACT_OID
invalidChargingContractOid error.
public static final int UNKNOWN
unknown error.
| Constructor Detail |
|---|
public ActivateException()
public ActivateException(int reason,
java.lang.String message)
reason - The reasonmessage - The messageINVALID_SUBSCRIBER_ACCOUNT_CODE,
INVALID_SERVICE_PROVIDER,
INVALID_SUBSCRIPTION_OID,
INVALID_TO_DATE,
INVALID_RESULT_TYPE,
ACTIVATION_PROCESS_ALREADY_RUNNING,
NOT_AUTHORIZED,
INVALID_CONTEXT,
LOCKED,
DISPATCHER_COMMUNICATION_FAILED,
RERATING_SESSION_RUNNING,
INVALID_CHARGING_CONTRACT_OID,
UNKNOWN| Method Detail |
|---|
public int getReason()
ActivateException.
INVALID_SUBSCRIBER_ACCOUNT_CODE,
INVALID_SERVICE_PROVIDER,
INVALID_SUBSCRIPTION_OID,
INVALID_TO_DATE,
INVALID_RESULT_TYPE,
ACTIVATION_PROCESS_ALREADY_RUNNING,
NOT_AUTHORIZED,
INVALID_CONTEXT,
LOCKED,
DISPATCHER_COMMUNICATION_FAILED,
RERATING_SESSION_RUNNING,
INVALID_CHARGING_CONTRACT_OID,
UNKNOWNpublic java.lang.String getMessage()
ActivateException.
getMessage in class java.lang.ThrowableActivateExceptionpublic void setAttributes(XMLAttributes atts)
XMLMarshallable
atts - The XML attributes of the current elementpublic void addCharacterData(java.lang.String cData)
XMLMarshallable
cData - The character data to be added
public void addChild(java.lang.String tagName,
XMLMarshallable child)
XMLMarshallablechild representing
the marshallable object which must be added to the element.
tagName - The name of tag for the childchild - The child to be addedpublic void marshal(XMLOutputter output)
XMLMarshallable
output - The XML output to marshal the object into
|
Document Published: October 2015 (SAP CC 4.0 SP10 and Later) | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||